package com.qj.yantaishan.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qj.yantaishan.common.annotation.Excel;
import com.qj.yantaishan.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 shanglala_product_discount
 * 
 * @author qihe
 * @date 2022-07-22
 */
public class ProductDiscount
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long productId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long storeId;

    /** 等级名称 */
    @Excel(name = "等级名称")
    private String degreeName;

    /** 折扣10.0 为不打折 */
    @Excel(name = "折扣10.0 为不打折")
    private BigDecimal discount;

    /** 对应等级id */
    @Excel(name = "对应等级id")
    private Long degreeId;

    /** 最近操作的时间戳 */
    @Excel(name = "最近操作的时间戳")
    private Long timestamp;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setDegreeName(String degreeName) 
    {
        this.degreeName = degreeName;
    }

    public String getDegreeName() 
    {
        return degreeName;
    }
    public void setDiscount(BigDecimal discount) 
    {
        this.discount = discount;
    }

    public BigDecimal getDiscount() 
    {
        return discount;
    }
    public void setDegreeId(Long degreeId) 
    {
        this.degreeId = degreeId;
    }

    public Long getDegreeId() 
    {
        return degreeId;
    }
    public void setTimestamp(Long timestamp) 
    {
        this.timestamp = timestamp;
    }

    public Long getTimestamp() 
    {
        return timestamp;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productId", getProductId())
            .append("storeId", getStoreId())
            .append("degreeName", getDegreeName())
            .append("discount", getDiscount())
            .append("degreeId", getDegreeId())
            .append("timestamp", getTimestamp())
            .toString();
    }
}
